export default {
	state: {
		sendMsg: {},
		customerIn: {},
		receiveMsg: {},
		customerOut: {}
	},
	mutations: {
		// 发送消息
		SET_SEND_MESSAGE(state, key) {
			state.sendMsg = key
		},
		// 访客进入
		SET_CUSTOMER_IN(state, key) {
			state.customerIn = key
		},
		// 接收消息
		SET_RECEIVE_MSG(state, key) {
			state.receiveMsg = key
		},
		// 访客离线
		SET_CUSTOMER_OUT(state, key) {
			state.customerOut = key
		}
	}
}
